﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IMODELS
{
    public interface IManageOrder
    {
        /// <summary>
        /// 查询定单
        /// </summary>
        /// <param name="start"></param>
        /// <param name="limit"></param>
        /// <param name="fiter"></param>
        /// <returns></returns>
         string AllOrder(string start, string limit, string fiter);
        /// <summary>
        /// 获取一条定单信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
         MODEL.MOrder GetorderById(string id);
        /// <summary>
        /// 取得一条信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
         string GetOrderById(string id);
        /// <summary>
        /// 删除定单
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
         bool DeleteOrder(string id);
        /// <summary>
        /// 修改定单
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
         bool UpdateOrder(MODEL.MOrder model);
    }
}
